#ifndef __STD_DEFINE_H__
#define __STD_DEFINE_H__

#include <cstdint>
#include <climits>
#include <float.h>

#ifndef NULL
 #ifdef __cplusplus
  #define NULL    0
 #else
  #define NULL    ((void *)0)
 #endif
#endif

#ifndef null
 #define null NULL
#endif


#define MAX_STUDY_SIGNAL_BUFFER   4
#define ZERO_ERROR_VALUE          0.0
#define MIN_ERROR_VALUE           0.0000001
#define MAX_ERROR_VALUE           DBL_MAX
//#define ZERO_VALUE                0.00000000001
#define ZERO_VALUE                0.0
#define MIN_VALUE                 0.00001

#define NONE_NEURON_ID            INT_MAX
#define NONE_SYNAPSE_ID           INT_MAX

//the variable value must be in value (f.e  0.1 <=> 10%)
#define ALLOWED_ERROR_RANGE       0.1

/*
#ifndef WINDOWS
 #define _DLLAPI
 #define __stdcall
 #define __cdecl
#endif
*/
#endif
